<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
  <h3>Fertige Cocktails<hr /></h3>
  
  <table class="list" style="width:400px">
      <thead>
         <tr>
            <th align="left">Wer</th>
            <th align="left">Cocktail</th>
         </tr>
      </thead>
      <tbody>
         {section name=row loop=$fertig}
            {strip}
             <tr>
               <td valign="top">{$fertig[row].Wer}</td>
               <td valign="top">{$fertig[row].Cocktail} <a href="?abgeholt={$fertig[row].ID}">[abgeholt]</a></td>
             </tr>
            {/strip}
         {/section}
      </tbody>
   </table>
  <br />
  <h3>in Bearbeitung<hr /></h3>
  <table class="list" style="width:400px">
      <thead>
         <tr>
            <th align="left">Wer</th>
            <th align="left">Cocktail</th>
         </tr>
      </thead>
      <tbody>
         {section name=row loop=$inBearbeitung}
            {strip}
             <tr>
               <td valign="top">{$inBearbeitung[row].Wer}</td>
               <td valign="top">{$inBearbeitung[row].Cocktail}</td>
             </tr>
            {/strip}
         {/section}
      </tbody>
   </table>
  <br />
  <h3>wartend<hr /></h3>
  <table class="list" style="width:400px">
      <thead>
         <tr>
            <th align="left">Wer</th>
            <th align="left">Cocktail</th>
         </tr>
      </thead>
      <tbody>
         {section name=row loop=$entgegengenommen}
            {strip}
             <tr>
               <td valign="top">{$entgegengenommen[row].Wer}</td>
               <td valign="top">{$entgegengenommen[row].Cocktail}</td>
             </tr>
            {/strip}
         {/section}
      </tbody>
   </table>
</body>
</html>